window.onbeforeunload = function (){
    $.ajax({
        type: "get",
        url:"/pcwindow/destroySession"
    })
};
